This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Re: batch file to shutdown and restart Domino server
I just got into this myself.
A few thoughts....
1) Using the Windows scheduler requires an ID/Password and it must be updated every time the password changes (often a regular occurance for security reasons). That may or may not be an issue in your environment.
2) Using a program document in Notes has the advantage of being able to run without having to manage the ID/password issues. It has some limitations, however, in what can be done since the commands only run while Domino is up.
3) If you are running under VM, you may be able to use the VM hypervisor to restart the system (if you need/want to reboot Windows). That may be able to run without an ID/password as well.
4) Warning: if you use a program document, do not use command='nserver' parms='-q' --- Instead, use command='nserver' parms='-C "quit"' (omit the single quotes). This is because the "-q" doesn't return until the server is shutdown...but the server won't shutdown until the program document finishes (a deadlock--and ugly).
Feedback response number WEBB7XRMNN created by ~Sarah Cistoomarader on 11/13/2009